#include "udf_cfg.h"


#if (ENABLE_UDF13 > 0 && !defined(UDP_SUB_PROJECT) && !defined(UDT_SUB_PROJECT) && (defined(UDF13_SUB_PROJECT) || defined(UDX_SUB_PROJECT)))
#define APP_DEMO_ENABLE
#include "app.h"


#include "../udsf/udsf_uart.c"
#include "../udsf/udsf_delay.c"

#if DEMO_CFG == DEMO_CFG_RADAR_APP_LPW
int udf13_udf_handle(void){
	return udsf_demo_radar_app_lpw_udf13();
}
#elif DEMO_CFG == DEMO_CFG_RADAR_APP_LP_TRIGGER
#include "../Demo_RADAR_APP_LP_TRIGGER/udsf_demo_radar_app_lp_trigger.c"
int udf13_udf_handle(void){
	return udsf_demo_radar_app_lp_trigger_procB();
}
#elif DEMO_CFG == DEMO_CFG_RADAR_APP_LP_TRIGGER_OUTDOOR
#include "../Demo_RADAR_APP_LP_TRIGGER_OUTDOOR/udsf_demo_radar_app_lp_trigger_outdoor.c"
int udf13_udf_handle(void){
	return udsf_demo_radar_app_lp_trigger_outdoor_procB();
}
#elif DEMO_CFG == DEMO_CFG_RAMAPP_DUAL_UDF
#include "../Demo_RAMAPP_DUAL_UDF/udsf_demo_ramapp_dual_udf.c"
int udf13_udf_handle(void){
	return udsf_demo_ramapp_DUAL_UDF_udf13();
}
#elif DEMO_CFG == DEMO_CFG_APP_DUAL_UDF_AT_SRAM
#include "../Demo_APP_DUAL_UDF_AT_SRAM/udsf_demo_app_dual_udf_at_sram.c"
int udf13_udf_handle(void){
	return udsf_demo_app_dual_udf_at_sram_udf13();
}
#elif DEMO_CFG == DEMO_CFG_APP_TEST_SPEED
#include "../Demo_APP_TEST_XIP_SPEED/udsf_demo_app_test_xip_speed.c"
int udf13_udf_handle(void){
	return udsf_demo_app_test_xip_speed_udf13();
}
#elif DEMO_CFG == DEMO_CFG_APP_TIMERA
#include "../Demo_APP_TIMERA/udsf_demo_app_timerA.c"
int udf13_udf_handle(void){
	udsf_demo_app_timerA();
	return UNIVERSAL_UDF_RES_NORMAL;
}
#else
#error "udf13 no demo"
#endif

#endif

